package com.petRescueCenter.demo.posting.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.petRescueCenter.demo.posting.entity.Reply;
import com.petRescueCenter.demo.posting.entity.dto.ReplyDTO;

public interface IReplyService {
	public Reply save(Reply entity);

	public Reply findById(Long id);

	public boolean existsById(Long id);

	public long count();

	public void deleteById(Long id);

	public void deleteAll(Long[] ids);

	public Page<ReplyDTO> findAll(Specification<Reply> spec, Pageable pageable);

}
